package com.cloudkinto.service.cost.importVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CostExportVo {
    @Excel(name = "费用单据号")
    private String costNo;
    @Excel(name = "仓库")
    private String warehouse;
    @Excel(name = "客户")
    private String company;

    @Excel(name = "业务类型", replace = {"入库_10", "出库_20", "仓租_30", "工单_40", "其他_50"})
    private Integer moduleType;
    @Excel(name = "OMS单据号")
    private String orderNo;
    @Excel(name = "单据类型", replace = {"一件代发入库_101", "备转中入库_201", "退件_301", "手动补录_1001","一件代发出库_401", "备转中出库_501", "--_null"})
    private String orderType;
    @Excel(name = "总金额")
    private BigDecimal costTotal;
    @Excel(name = "币种")
    private String currencyCode;
    @Excel(name = "计费状态",  replace = {"未计费_1","已计费_2"})
    private Integer costStatus;
    @Excel(name = "计费时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date costTime;
}
